package com.neudu.yiyang.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.neudu.yiyang.pojo.Customer;
import com.neudu.yiyang.pojo.Customerpreference;
import com.baomidou.mybatisplus.extension.service.IService;
import com.neudu.yiyang.vo.CustomerPreferenceVo;
import org.springframework.data.domain.Page;
import org.springframework.util.ObjectUtils;

import java.util.List;
import java.util.Map;

/**
* @author 16462
* @description 针对表【customerpreference】的数据库操作Service
* @createDate 2025-03-31 21:56:23
*/
public interface CustomerpreferenceService extends IService<Customerpreference> {


    /**
     * 分页查询膳食喜好及客户信息
     */
    List<Map<String, Object>> selectWithCustomerName(String keyword);

    /**
     * 根据ID查询膳食喜好及客户信息
     */
    Map<String, Object> selectByIdWithCustomerName(Integer id);


    List<Map<String, Object>> selectWithCustomerNameAndFilterDeleted(String keyword);
}

